SDATE

Syntax: SDATE year,month,day,hours,minutes,seconds
    or: SDATE year,month,day,hours,minutes (SMS v2.57+)
    or: SDATE time                       (Minerva, SMS)
    or: SDATE TO time                        (THOR XVI)
Location: QL ROM

This command allows you to set the internal QL clock to a specified date and time. Each parameter in the first syntax must be a numeric value.

The second and third syntaxes allow you to set the time and date by the number of seconds since Midnight on 1st January 1961.

Example:
SDATE 1993,1,1,0,0,0 
sets the internal clock to the start of 1993.

CROSS-REFERENCE:
PROT_DATE allows you to prevent SDATE from altering a battery backed clock. 
ADATE allows you to alter the time by a specified number of seconds.  
DATE lets you read the current date and time as a single figure. 
DATE$ and DAY$ return various details about the current date and time. 
A_SDATE and SET_CLOCK alter the battery backed clocks on the ST/QL Emulator and THOR respectively.
